package com.jt.www.model.registerCustomer.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@ApiModel(description = "用户中心返回来的客户经理信息, 封装实体")
public class UserManagerResultVo {

    @ApiModelProperty(value = "客户经理在用户中心的编码")
    private String userCode;

    @ApiModelProperty(value = "客户经理账号")
    private String userLoginId;

    @ApiModelProperty(value = "客户经理名称")
    private String name;

    @ApiModelProperty(value = "所属分支机构编码")
    private String branchCode;

    @ApiModelProperty(value = "所属分支机构名称")
    private String branchName;

    @ApiModelProperty(value = "所属分支机构部门编码")
    private String departmentCode;

    @ApiModelProperty(value = "所属分支机构部门名称")
    private String departmentName;

    @ApiModelProperty(value = "状态 0--停用，1--启用 ,")
    private String status;

    //请于用户中心确认
    @ApiModelProperty(value = "客户经理角色 0:内部用户  1:外部用户")
    private Integer managerRole;

    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserLoginId() {
        return userLoginId;
    }

    public void setUserLoginId(String userLoginId) {
        this.userLoginId = userLoginId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getManagerRole() {
        return managerRole;
    }

    public void setManagerRole(Integer managerRole) {
        this.managerRole = managerRole;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
